<template>
	<a-config-provider :locale="locale">
		<global-layout></global-layout>
	</a-config-provider>
</template>

<script lang="ts">
	import {defineComponent} from 'vue'
	import zhCN from 'ant-design-vue/es/locale/zh_CN'
	import GlobalLayout from '@/components/layout/GlobalLayout.vue'

	export default defineComponent({
		name: 'App',
		components: {
			GlobalLayout,
		},
		data() {
			return {
				locale: zhCN,
			}
		},
	})
</script>

<style lang="less"></style>
